package com.jie.langlangmall.portal.service;

import com.jie.langlangmall.common.api.CommonPage;
import com.jie.langlangmall.model.PmsBrand;
import com.jie.langlangmall.model.PmsProduct;

import java.util.List;

/**
 * @Author Jie
 * @Date 2024/11/26
 * @Email 3217998214@qq.com
 * @Description 品牌信息
 */
public interface BrandService {

    /**
     * 获取推荐品牌
     *
     * @param pageNum
     * @param pageSize
     * @return
     */
    List<PmsBrand> recommendList(Integer pageNum, Integer pageSize);

    /**
     * 获取品牌详情
     *
     * @param brandId
     * @return
     */
    PmsBrand detail(Long brandId);

    /**
     * 获取该品牌下的商品
     *
     * @param brandId
     * @param pageNum
     * @param pageSize
     * @return
     */
    CommonPage<PmsProduct> productList(Long brandId, Integer pageNum, Integer pageSize);
}
